<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table >
        <th colspan="4">
            <td>页面查询</td>
        </th>
        <tr>
            <td>id</td>
            <td>name</td>
            <td>age</td>
            <td>sex</td>
        </tr>
        <tr th:each="user : ${userList}">
            <td>[[${user.id}]]</td>
            <td>[[${user.name}]]</td>
            <td>[[${user.age}]]</td>
            <td>[[${user.sex}]]</td>

        </tr>
    </table>
</body>
</html>